package com.example.food.repository;

import com.example.food.bean.Goods;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;

public interface GoodsRepository extends JpaRepository<Goods, String> {
    List<Goods> findByGoodCategory(String gCategory);
//    Goods findByUserId(Integer userId);
}
